package com.itheima.question.service;


import com.itheima.PageVo;
import com.itheima.question.dto.PageDto;
import com.itheima.question.dto.QuestionDto;
import com.itheima.question.vo.QueryQuestionVo;
import com.itheima.question.vo.QuestionVo;

public interface QuestionService {
    boolean addQuestion(QuestionDto questionDto);
    PageVo<QuestionVo> queryByPage(PageDto pageDto);

    QueryQuestionVo queryById(String questionId);

    boolean deleteById(String questionId);

    boolean editQuestion(QueryQuestionVo queryQuestionVo);
}
